Main ----- Copyright Up Previous Next

Strip specific elements

SGML-comments

can be removed from the output by enabling the switch STRIPCOMMENT when invoking hsc.

Specific tags

must be passed to the option STRIPTAGS, separated by a "|". For example, to remove all physical styles, use STRIPTAG="B|I|U|TT" when invoking hsc.

You can't strip tags, which have the tag flag/SPECIAL set. But this only concerns the <!>-tag (see above) and some of hsc's internal tags, which you should not strip anyway.

Tags with external references

can be removed if you want to create a NoNet-version of your document. Use the switch STRIPEXTERNAL for this task. Tags which are affected by this must have an URI-type attribute, which has the attribute flag /STRIPEXT set within hsc.prefs.

Currently, this affects only the tags <A>, <IMG> and <LINK>.

Redundant linefeeds and white-spaces

can be removed, if you heavy use them to structure your source, but don't want to waste bandwidth for them. You only need to enable the switch COMPACT.

This will make your HTML-object less readable for a user, but browsers won't care and display it the same way.

Currently, hsc does:

Linefeeds and white-spaces inside a tag-call are not affected by this option. The <PRE>-tag temporarily suppresses this option, until a </PRE> occures.


Thomas Aglassinger ( agi@giga.or.at ), 15-May-1996